package model.entity;

public class SetmealDish {
   private  int id;
   private  int setmealId;
   private  int dishId;
   private  String name;
   private  double price;
   private  int copies;


    public SetmealDish() {
    }

    public SetmealDish(int id, int setmealId, int dishId, String name, double price, int copies) {
        this.id = id;
        this.setmealId = setmealId;
        this.dishId = dishId;
        this.name = name;
        this.price = price;
        this.copies = copies;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return setmealId
     */
    public int getSetmealId() {
        return setmealId;
    }

    /**
     * 设置
     * @param setmealId
     */
    public void setSetmealId(int setmealId) {
        this.setmealId = setmealId;
    }

    /**
     * 获取
     * @return dishId
     */
    public int getDishId() {
        return dishId;
    }

    /**
     * 设置
     * @param dishId
     */
    public void setDishId(int dishId) {
        this.dishId = dishId;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return price
     */
    public double getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(double price) {
        this.price = price;
    }

    /**
     * 获取
     * @return copies
     */
    public int getCopies() {
        return copies;
    }

    /**
     * 设置
     * @param copies
     */
    public void setCopies(int copies) {
        this.copies = copies;
    }

    public String toString() {
        return "setmeal_dish{id = " + id + ", setmealId = " + setmealId + ", dishId = " + dishId + ", name = " + name + ", price = " + price + ", copies = " + copies + "}";
    }
}
